//
//  BLCustomModel.m
//  blanket
//
//  Created by Mac on 2018/1/2.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "BLCustomModel.h"

@implementation BLCustomModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{@"goodID":@"id"};
}
- (BLMassModel *)chosedMassModel{
    if (!_chosedMassModel) {
        _chosedMassModel = self.mass.firstObject;
    }
    return _chosedMassModel;
}
- (NSNumber *)num{
    if (!_num) {
        _num = [NSNumber numberWithInteger:1];
    }
    return _num;
}
@end
@implementation BLMassModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{@"massID":@"id"};
}

@end
